I'm using anyway MFC, so the portability... "is not a problem" :)
I tried to change the link settings, but I'm doing something wrong, because it wont work, linker gives errors (LNK2001 -...
Type: Posts; User: fiff
I'm using anyway MFC, so the portability... "is not a problem" :)
I tried to change the link settings, but I'm doing something wrong, because it wont work, linker gives errors (LNK2001 -...
Now I'm confused...
It works with Win XP, 2K, 98.
Did you mean non-windows platforms?
Yes, my mistake, I did'nt read the first post thoroughly :)
Portability? Between different VC versions?
Tnx,
but can I also do this without changing project settings - in code?
#pragma comment(lib, "./API/mylib.lib") ???
How can I link .lib (static not dll) with my project? (VC 6.0)
I don't want to insert another project into workspace.
CMyEdit : public CEdit
{
public:
CString GetText()
{
CString text;
this->GetWindowText(text);
return text;
}
};
Finally ...
I found ZipArchive from http://www.codeproject.com/cpp/zip.asp
and this works
/// szDest is CString with dest. folder from "Folder Browse Dialog"
CString ZipTempFileName =...
Yes I tried this lib... but unfortunately this is too much for me.
Can someone show me how to use zlib in MFC.
For example I have :
class AppX : public CWinApp
{
public:
I'm making installer (VC++ 6.0),
I use LoadResource() to get files from install.exe, something like this
HINSTANCE hInst = AfxGetInstanceHandle();
HRSRC hmdbFile =...
I looked in winmdi.cpp and now I know why this "Assertion Failed" appears.
CMDIFrameWnd must have menu with submenu and at least with two items.
I made menu (resource) and called LoadFrame()...
Hi,
this code is not working,
why?
#include <afxwin.h>
#include <afxtempl.h>
#include "resource.h"
I have'nt found any simple solution and any way I dont like this tab movement, so I made this (moving and selecting with arrows):
class MyEdit : public CEdit
{
protected:
void...
Yes, application class ->
class MyApp : public CWinApp
{
public:
BOOL InitInstance()
{
Hi,
I have two CEdit's with WS_TABSTOP property, but tabing (moving between editboxes with TAB / SHIFT+TAB) is not working. As I understood I have to put IsDialogMessage(); function in message...
okidoki
Hi,
how can I round double in Visual C++ ?
In Dev-Cpp works:
#include <math.h>
int myInt;
myInt = int (round(45.65445));
:) damn
to long scripting PHP
Thanks, your code works.
I did'nt call the method ActivateFrame() correctly, missing ()
In C++ class decl. doesnt end with semicolon ;
It gives 102 errors :)
I'm using Visual C++ 6.0 ...
I create empty project (Win32 App) and new .cpp file:
#include <afxwin.h>
class AppX : public CWinApp
{
public:
BOOL InitInstance()
thank you for a reply... I fix those things.
I am very grateful, if someone can give me a working code (or link) for something similary... I have searched so many days from Google and MSDN. Best...
thank you for a reply.
:) that's it... but if there is another moving picture then redrawing the background will delete it (I guess, I just have to redraw another picture also)
Is this a...
Please help... how can I make sprite (simple picture moving when pressed arrows)
I thought something like this:
when arrow pressed, then
1) delete previous picture from screen
2) calculate new...
Please help... how can I make sprite (simple picture moving when pressed arrows)
I thought something like this:
when arrow pressed, then
1) delete previous picture from screen
2) calculate new...