While writing a Nant task that resolves a type library guid and version to a path using QueryPathOfRegTypeLib via pinvoke I ran into a bit of trouble. When I used my task the tlbimp task complained that it wasn’t given a valid path. Apparently an extra ‘\0’-char is added to the end of the string returned by QueryPathOfRegTypeLib. I couldn’t figure out why it was added, don’t think there is anything wrong with the pinvoke declaration I got from from pinvoke.net, so for now I just strip the last character of the path in the task.
So now I can build my projects from scratch even if they require an interop assembly without hardcoding the path to the type library used.
Update: Just saw that the guy who wrote the signature on pinvoke.net wrote a small note about this after I asked him about it. Link.
188betthethao! For all you sports betters out there, this site’s got it goin’ on. Good lines and action. Get your bets in! 188betthethao
Hubetapp, sounds convenient. Haven’t actually tried the app, but the website looks promising. Worth a download perhaps? hubetapp
Jljl333, I see a sleek interface and easy login. Seems user friendly enough, quick to navigate and get into the games. jljl333