error in win32api vc++ 6.0

DLL Edition of the F-IN-BOX
warrence
Posts: 3
Joined: Sat Nov 11, 2006 9:45 am

error in win32api vc++ 6.0

Postby warrence » Sat Nov 11, 2006 9:49 am

#include "FlashPlayerControl/include/FlashPlayerControl.h"
#pragma comment(lib, "FlashPlayerControl/lib/FlashPlayerControl.lib")

i try do this on the top of the cpp file, i get error below after compile.

Compiling...
finbox.cpp
c:\program files\microsoft visual studio\vc98\include\oleauto.h(30) : error C2146: syntax error : missing ';' before identifier 'IID_StdOle'
c:\program files\microsoft visual studio\vc98\include\oleauto.h(30) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

finbox.obj - 2 error(s), 0 warning(s)

can anyone tell me why?

Thanks in advance.

warrence
Posts: 3
Joined: Sat Nov 11, 2006 9:45 am

Postby warrence » Sat Nov 11, 2006 9:51 am

forgot to say, i tried in MFC and it was fine. Only get that error in win32ap

and i tried to compile the sample which coe along in the download from this site, it compile without error too.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Nov 11, 2006 1:07 pm

Thank you for your question.

I found discussion about the same problem here:
http://groups.google.com/group/microsof ... d12892f9f2

They recommend to include #include <wtypes.h> before oleauto.h
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

warrence
Posts: 3
Joined: Sat Nov 11, 2006 9:45 am

Postby warrence » Mon Nov 13, 2006 2:36 am

it works! :D

Thanks!


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 11 guests

cron